﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExpenseSystem.DataUpdater.Validation
{
    public class DataValidationEventArgs<T> : EventArgs
    {
        public bool Cancle { get; set; }
        public string Message { get; set; }
        public T Insert { get; set; }
        public T Delete { get; set; }
    }
    public delegate void DataValidationHandler<T>(object sender, DataValidationEventArgs<T> e);
}
